import service from "../utils/request";

//商品列表
export function pro_list(payload = {}){
    return service.get('/pro/list' , { params: payload })
}
//商品分类
export function pro_getCategory(payload = {}){
    return service.get('/pro/getCategory' , { params: payload })
}
//秒杀/推荐
export function pro_showdata(payload = {}){
    return service.post('/pro/showdata' , payload)
}
//筛选
export function pro_searchPro(payload = {}){
    return service.post('/pro/searchPro' , payload)
}
export function pro_updateFlag(payload = {}){
    return service.post('/pro/updateFlag' , payload)
}
